//
//  ChangePayMentCell.m
//  CBT
//
//  Created by Mr.Zhang on 2018/11/29.
//  Copyright © 2018 Mr.Zhang. All rights reserved.
//

#import "ChangePayMentCell.h"

@implementation ChangePayMentCell

- (void)awakeFromNib {
    [super awakeFromNib];

    self.phoneTextField.placeholder = kLocalizedString(@"请输入注册的手机", nil);
    self.codeTextField.placeholder  = kLocalizedString(@"请输入验证码", nil);
    self.pwdTextField.placeholder   = kLocalizedString(@"请输入6位新支付密码", nil);
    [self.codeBtn setTitle:kLocalizedString(@"发送验证码", nil) forState:(UIControlStateNormal)];
    
    if (@available(iOS 12.0, *)) {
        self.phoneTextField.textContentType = UITextContentTypeName;
        self.codeTextField.textContentType  = UITextContentTypeName;
        self.pwdTextField.textContentType   = UITextContentTypePassword;
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

@end
